<?php	
$to = "zhourunsheng2008@gmail.com"; //将此电子邮件地址改为自己的。

$name = $_POST['name']; 
$email = $_POST['email']; 
$subject = "来自博客读者的邮件[" . $name . "]";
$message = $_POST['message'];

$status = mail($to, $subject, $message, "From: " . $email . "\r\n");

echo 'Hi ' . $name . ', 您的邮件已发送 [发送状态 - ' . ($status == true? "成功" : "失败") . ']。';
?>